import { request } from "@/utils/service"

/** 查询全部 行业 */
export function industriesListApi(data: any) {
  return request({
    url:"/system/industries/getAll",
    method: "POST",
    data
  })
}

/** 新增 行业 */
export function addIndustriesApi(data: any) {
  return request({
    url:"/system/industries/add",
    method: "POST",
    data
  })
}
/** 修改 行业 */
export function editIndustriesApi(data: any) {
  return request({
    url:"/system/industries/update",
    method: "POST",
    data
  })
}

/** 新增 场景 */
export function addIndustriesSceneApi(data: any) {
  return request({
    url:"/system/industries/scene/add",
    method: "POST",
    data
  })
}

/** 修改 场景  */
export function editIndustriesSceneApi(data: any) {
  return request({
    url:"/system/industries/scene/update",
    method: "POST",
    data
  })
}